﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ActionSyntax.ascx.cs"
    Inherits="WebUI.Admin.UserControls.ActionSyntax" %>
<%@ Register Src="~/Admin/UserControls/PaggingController.ascx" TagPrefix="pgctrl"
    TagName="paggingController" %>
<table class="table" cellspacing="0" rules="all" border="1" style="width: 100%; border-collapse: collapse;">
    <tbody>
        <tr>
            <th scope="col">
                Tỉnh
            </th>
            <th scope="col">
                Cú Pháp
            </th>
            <th scope="col">
                Tổng Đài
            </th>
            <th scope="col">
            </th>
        </tr>
        <asp:Repeater ID="RepeaterSyntax" runat="server" OnItemCommand="RepeaterSyntax_mmand">
            <ItemTemplate>
                <tr>
                    <td style="text-align: center">
                        <%# ThanhTu.GNCMedia.KQXS.Common.Utils.ToUTF8String((byte[])Eval("PRINCENAME"))%>
                    </td>
                    <td style="text-align: center">
                        <%# Eval("SYNTAX")%>
                    </td>
                    <td style="text-align: center">
                        <%# Eval("SwitchBoard")%>
                    </td>
                    </td>
                    <td style="text-align: center">
                        <a href="../Admin/UpdateSyntaxMessenger.aspx?PovinceName= <%# ThanhTu.GNCMedia.KQXS.Common.Utils.ToUTF8String((byte[])Eval("PRINCENAME"))%>&Syntax=<%# Eval("SYNTAX") %>&SwitchBoard=<%# Eval("SwitchBoard") %>&PROVINCEID=<%# Eval("PROVINCEID") %>">
                            Update</a>
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="return confirm('Are you sure you want to Delete this Record?');"
                            CommandName='<%# Eval("PROVINCEID") %>'>Delete</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                <asp:Label ID="lblFooter" runat="server"></asp:Label>
            </FooterTemplate>
        </asp:Repeater>
        <tr>
            <td colspan="4">
                <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border: 0px;
                    padding-top: 10px; background-color: Transparent;">
                    <tr>
                        <td style="border: 0px;" valign="top" align="right">
                           Nhảy Đến Trang
                            <asp:DropDownList ID="ddPage" runat="server" AutoPostBack="true" 
                                onselectedindexchanged="ddPage_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td align="right" style="border: 0px;">
                            <asp:LinkButton ID="lbtn_first" runat="server" onclick="lbtn_first_Click">First</asp:LinkButton> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
                            <asp:LinkButton ID="lbtn_pre" runat="server" onclick="lbtn_pre_Click">previous</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
                            <asp:LinkButton ID="lbtntnext" runat="server" onclick="lbtntnext_Click">next</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
                            <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">Last</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </tbody>
</table>
<table border="1" cellspacing="2" cellpadding="0">
    <thead>
        <tr>
            <td>
                Tên Tỉnhh
            </td>
            <td>
                <asp:DropDownList ID="ddl_IDtinh_Syntax" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
    </thead>
    <tr>
        <th>
            Cú Pháp
        </th>
        <th>
            <asp:TextBox ID="txt_Syntax" runat="server"></asp:TextBox>
        </th>
    </tr>
    <tr>
        <td>
            Tổng đài
        </td>
        <td>
            <asp:TextBox ID="txt_tongDai_Syntax" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tfoot>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="btn_addNewDataRegion" runat="server" Text="Submit" OnClick="btn_addNewData_Click1" />
                <asp:Label ID="Lbl_Requiment" runat="server"></asp:Label>
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Admin/Default.aspx">Quay Về Trang Danh Sách</asp:HyperLink>
            </td>
        </tr>
    </tfoot>
</table>
